package com.gec.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gec.model.entity.SysChargeDetail;
import com.gec.model.vo.SysChargeDetailQueryVo;
import com.gec.system.mapper.SysChargeDetailMapper;
import com.gec.system.service.SysChargeDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 收费明细表 服务实现类
 * </p>
 *
 * @author lys
 * @since 2023-12-08
 */
@Service
public class SysChargeDetailServiceImpl extends ServiceImpl<SysChargeDetailMapper, SysChargeDetail> implements SysChargeDetailService {

    @Override
    public IPage<SysChargeDetail> selectPage(IPage<SysChargeDetail> page1, SysChargeDetailQueryVo vo) {
        return this.getBaseMapper().selectPageList(page1, vo);
    }

    @Override
    public List<SysChargeDetail> getDetailByIdAndType(SysChargeDetailQueryVo vo) {
        return this.getBaseMapper().getDetailByIdAndType(vo);
    }
}
